$OpenBSD: patch-theme_c,v 1.2 2015/09/23 09:44:55 dcoppa Exp $
--- theme.c.orig	Wed Sep 23 09:44:38 2015
+++ theme.c	Wed Sep 23 09:45:42 2015
@@ -58,14 +58,14 @@ int theme_readfile(theme *t, char *name)
 	/* search for the theme:
 	 *  - in the local directory
 	 *  - in ~/.slurm
-	 *  - in /usr/local/share/slurm
+	 *  - in ${PREFIX}/share/slurm
 	 *    (make this /usr/share/slurm for Debian systems by specifing
 	 *     -D__Debian__)
 	 */
 	search_paths[0] = ".";                               /* local directory */
 	search_paths[1] = strcat(getenv("HOME"), "/.slurm"); /* $HOME/.slurm/ */
 	search_paths[2] = "/usr/share/slurm";                /* Debian style */
-	search_paths[3] = "/usr/local/share/slurm";          /* default install path */
+	search_paths[3] = "${PREFIX}/share/slurm";          /* default install path */
 	search_paths[4] = "/usr/pkg/share/slurm";            /* NetBSD style */
 
 	for (iter=0; iter <= 4; iter++) {
